furny.ga.logger.entities
Class LogEvent

java.lang.Object
  extended by furny.ga.logger.entities.LogEvent

@Entity
public class LogEvent
extends java.lang.Object

Database entry for an log event.

Since:
11.08.2012
Author:
Stephan Dreyer

Field Summary
private  java.util.Date date
          The date.
private  EvaluationRunEntry evaluationRun
          The evaluation run.
private  long id
          The id.
private  EventType type
          The type.
 
Constructor Summary
private LogEvent()
          Instantiates a new log event.
  LogEvent(java.util.Date date, EvaluationRunEntry run, EventType type)
          Instantiates a new log event.
 
Method Summary
 java.util.Date getDate()
          Gets the date.
 EvaluationRunEntry getEvaluationRun()
          Gets the evaluation run.
 long getId()
          Gets the id.
 EventType getType()
          Gets the type.
 void setDate(java.util.Date date)
          Sets the date.
 void setEvaluationRun(EvaluationRunEntry evaluationRun)
          Sets the evaluation run.
private  void setId(long id)
          Sets the id.
 void setType(EventType type)
          Sets the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

private long id
The id.


date

private java.util.Date date
The date.


type

private EventType type
The type.


evaluationRun

private EvaluationRunEntry evaluationRun
The evaluation run.

Constructor Detail

LogEvent

private LogEvent()
Instantiates a new log event.


LogEvent

public LogEvent(java.util.Date date,
                EvaluationRunEntry run,
                EventType type)
Instantiates a new log event.

Parameters:
date - the date
run - the run
type - the type
Method Detail

getId

public long getId()
Gets the id.

Returns:
the id

setId

private void setId(long id)
Sets the id.

Parameters:
id - the new id

getEvaluationRun

public EvaluationRunEntry getEvaluationRun()
Gets the evaluation run.

Returns:
the evaluation run

setEvaluationRun

public void setEvaluationRun(EvaluationRunEntry evaluationRun)
Sets the evaluation run.

Parameters:
evaluationRun - the new evaluation run

getDate

public java.util.Date getDate()
Gets the date.

Returns:
the date

setDate

public void setDate(java.util.Date date)
Sets the date.

Parameters:
date - the new date

getType

public EventType getType()
Gets the type.

Returns:
the type

setType

public void setType(EventType type)
Sets the type.

Parameters:
type - the new type